const request = (path,param) => {
    let url = 'https://www.ehomespace.com/api/public/v1/' + path
    return new Promise(function(resolve,reject) {
        mpvue.request({
            url:url,
            data:param,
            method:"get",
            success:(res)=> {
                resolve(res)
            }
        })
    })
}
export default request